package com.jiazhong.basic.shuxin.design.责任链模式;

public class Monitor extends Handler {
    @Override
    public void handler(int day) {
        System.out.println("班长就能处理，批准了");
        if (day > 1) {
            // 还要找下一个人
            getNextHandler().handler(day);
        }

    }
}
